NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A QD3D64
Making Objects Invisible


Q: Is it possible to include an object in the QuickDraw 3D rendering loop, but have it invisible?

A: If your object is in a group, you can turn the groups drawable flag off (kQ3DisplayGroupStateMaskIsDrawn, see page 10-6 of "3D Graphics programming with QD3D") so the objects in the group won't be drawn.

Another technique is to set the origin of the object to a distant location, so that it is not in the field of view.

Alternately, you can make the object transparent by setting the transparency color to whatever the background color is.

[Jul 11 1997]


Developer Documentation | Technical Notes | Development Kits | Sample Code